package org.example.springaop.blog_demo;

import lombok.extern.slf4j.Slf4j;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 九转苍翎
 * Date: 2025/10/22
 * Time: 23:52
 */
@Slf4j
public class HardCoding {
    public void demo() {
        long currentTime = System.currentTimeMillis();

        //业务代码

        log.info("消耗时间:{}", System.currentTimeMillis() - currentTime);
    }

    public static void main(String[] args) {
        new HardCoding().demo();
    }
}
